package com.slkj.shilixiaoyuanapp.entity;

import com.slkj.shilixiaoyuanapp.view.choosedialog.ChooseData;

import java.io.Serializable;

public class MyclassEntity implements Serializable, ChooseData{
    private String classname;
    private boolean choose;

    public MyclassEntity(String classname, boolean choose) {
        this.classname = classname;
        this.choose = choose;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public boolean isChoose() {
        return choose;
    }

    public void setChoose(boolean choose) {
        this.choose = choose;
    }

    @Override
    public String getChooseDataText() {
        return classname;
    }
}
